﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace a30_DialogBox
{
    /// <summary>
    /// Interaction logic for FindDialogBox.xaml
    /// </summary>
    public partial class FindDialogBox : Window
    {
        public FindDialogBox(TextBox search)
        {
            InitializeComponent();
        }

        private void FindButton_Click(object sender, RoutedEventArgs e)
        {
            Button btn = sender as Button;
            MessageBox.Show("你点击了" + btn.Name, "点击", MessageBoxButton.OK, MessageBoxImage.Information);
        }

        private void Close_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }

        private void findWhatTextBox_TextChanged(object sender, TextChangedEventArgs e)
        {

        }

        private void criteria_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
